import request  from '@/api/index'

// 获取所有应用
/**
 * @typedef {(number|string)} NumberLike
 * @param query
 * @returns {AxiosPromise<NumberLike>}
 */
export function getApplications(query) {
  return request.get({
    url: '/proappAPI/application/myParticipate',
    method: 'get',
    params: query,
  })
}

export function getComponentByCategoryId(id) {
  /*return request({
    url: `${API.SYSTEM_API}/compCategory/selectCompByCategoryId/${id}`,
    method: 'get',
  })*/
}

export function getApp() {
  /*return request({
    url: `${API.PROAPP_API}/application/findMyApps`,
    method: 'get',
  })*/
}
